package com.eastedu.repository.ppt.dto;

import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * The type Ppt video mapping.
 *
 * @author zhangzhishuai
 */
@NoArgsConstructor
@Data
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class PptVideoMappingDTO {

    private List<MappingsDTO> mappings;
    private String pptId;
    private String videoId;

    /**
     * The type Mappings dto.
     */
    @NoArgsConstructor
    @Data
    @JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
    public static class MappingsDTO {
        private String maxScore;
        private String pptIndex;
        private String timeStr;
        private String videoSecond;
    }
}
